<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>
<header align="center" ><h2><a th:href="|@{'/'}news|">新闻内容管理系统</a></h2></header>
<h2>新增新闻界面</h2>
<!--/*@thymesVar id="news" type="top.ckxgzxa.newscms.entity.News"*/-->
<div>
    <form th:method="post" th:action="|@{'/'}news/add|">
        <h3>标题</h3>
        <input placeholder="请输入新闻标题" type="text" name="title" required="required">
        <br/>
        <h3>内容</h3>
        <textarea placeholder="请输入新闻内容" id="news_content" name="content"
                  rows="10" cols="30" required="required"></textarea><br/>
        <input type="submit" value="保存">
    </form>
</div>
</body>

</html>
   